CXX0X := /Users/yli/gcc46/bin/g++ -L/Users/yli/gcc46/lib -I/Users/yli/gcc46/include 
CXX := g++
CFLAGS := -Wall -O3 -m64 -pedantic -ftree-vectorize -mfpmath=sse -ffast-math -lntl -lgsl -lgslcblas -lm
DEBUG := -Wall -pedantic -O1 -m64 -lntl -lgsl -lgslcblas -lm

all: verbose

silent: *.cpp *.hpp
	${CXX} ${CFLAGS} driver.cpp decode.cpp encode.cpp -o decode

verbose: *.cpp *.hpp
	${CXX} ${CFLAGS} -DVERBOSE driver.cpp decode.cpp encode.cpp -o decodev

debug: *.cpp *.hpp
	${CXX} ${CFLAGS} -DVERBOSE -DDEBUG driver.cpp decode.cpp encode.cpp -o decoded

clean: 
	rm decode decodev decoded > /dev/null 2>&1